计算机与现代化 ›› 2013, Vol. 1 ›› Issue (5): 66-69.doi: 10.3969/j.issn.1006-2475.2013.05.015

• 图像处理 • 上一篇    下一篇

基于图像处理的药片实时检测及处理系统的研究及其应用

刘圣晓1,2   

  1. 1.南昌航空大学无损检测技术教育部重点实验室,江西南昌330063;2.南昌航空大学信息工程学院,江西南昌330063
  • 收稿日期:2012-12-29 修回日期:1900-01-01 出版日期:2013-05-28 发布日期:2013-05-28

Study on Real-time Tablets Image Detection and Processing System Basedon Image Processing and Its Application

LIU Sheng-xiao 1,2   

  1. 1.The Key Laboratory for Nondestructive Detection of Education Ministry of China,Nanchang Hangkong University,Nanchang 330063, China;2.College of Information Engineering, Nangchang Hangkong University, Nanchang 330063, China
  • Received:2012-12-29 Revised:1900-01-01 Online:2013-05-28 Published:2013-05-28

摘要: 在铝塑泡罩包装机的药片自动包装生产线上,药片板中往往会出现空泡、缺陷(缺片、斑点、裂片、黏片)等情况。针对此问题,本文利用VC++图像处理技术开发一套药片实时检测及处理的系统对药片板中的药片进行在线检测,通过改进型的中值滤波、差影法图像分割对药片板中的药片进行缺陷检测,再经过图像识别与分类方法把药片进行分类。本文在去除椒盐噪声方面比传统的方法有更好的滤波效果,且能很好解决药片与药片间的灰度交叉缺陷这一难点。该系统在实际的生产中对产品中缺粒、缺陷药片(缺片、斑点、裂片、黏片)等不合格的药品板准确检测率达到90%以上,满足了实际生产的需要。

关键词: 铝塑泡罩包装机, 图像处理, 中值滤波

Abstract: On the automatic packaging lines which uses the aluminum-plastic blister packaging machine, in the tablets packaging process, tablet plate often appears empty, unqualified tablets(such as unfilled tablet, impurities, fragments, sticky tablets). Aiming at this problem, the paper develops a real-time tablets image detection and processing system by using the VC image processing technology. It is mainly used to detect unqualified tablets and tablet images detect with the improved median filtering, the difference image method, then classifies tablets with image identification and classification. This paper is more effect than traditional median filtering in getting rid of salt and pepper noise, it can resolve the defect of the gray cross between pills and pills, in the process of real production. It has detection ratio of 90% for tablet board which contains unqualified tablets(such as unfilled tablet, impurities, fragments、sticky tablets),meets the needs of actual production.

Key words: aluminum-plastic blister packaging machine, image processing, median filtering

中图分类号: